#include<stdio.h>
char *mystract(char *dest,const char *src);

int main(void)
{
	char dest[100]="hello kitty";
	char *p="this is a cat";
	char *ret =NULL;
	ret =mystract(dest,p);
	printf("ret =%s\ndest =%s\np =%s\n",ret,dest,p);
	return 0;
}

char *mystract(char *dest,const char *src)
{
	char *tmp =dest;
	while(*tmp)
		tmp++;
	*tmp =' ';
	while(*src!='\0'){
	    tmp++;
		*tmp=*src;
		src++;
	}
	return dest;

}
